package cn.growthgate.fgo.service;

import java.util.List;

import cn.growthgate.fgo.common.base.BaseService;
import cn.growthgate.fgo.entity.UserRole;
import cn.growthgate.fgo.entity.enums.Role;

/**
 * <p>
 * 用户权限表 服务类
 * </p>
 *
 * @author GrowthGate
 * @since 2019-01-23
 */
public interface IUserRoleService extends BaseService<UserRole> {

	public List<Role> getRoles(Long userId);
	
	public boolean saveRoles(Long userId, Role[] roles);
	
}
